<!--kindeditor编辑器-->
<script type="text/javascript" src="{STATIC_PLUG}/kindeditor/kindeditor-all-min.js"></script>
<script type="text/javascript" src="{STATIC_PLUG}/kindeditor/lang/zh-CN.js"></script>
<link  rel="stylesheet"  href="{STATIC_PLUG}/kindeditor/themes/default/default.css"  type="text/css">

<textarea name="{$name}" class="form-control js_content" placeholder="" >{$content}</textarea>
<script>
    var editor;
    KindEditor.ready(function(K) {
        editor = K.create('.js_content', {
            uploadJson : "{U('upload/kindeditor')}",
            fixToolBar : true,
            width : "{$width}", height : "{$height}",
        });
    });
</script>